/*
 * @Description: * 
 * @Date: 2021-03-21 15:57:27
 * @LastEditTime: 2021-03-21 15:57:27
 * @Author: Ji YingHao
 * @FilePath: /nuxt-app/common/localStorage.js
 */
import createPersistedState from 'vuex-persistedstate'

export default ({ store }) => {
    createPersistedState({
        storage: sessionStorage,
    })(store)
}